{% extends "groups/form.html" %}
{% block title %}HCP - Group - {{ group.cn[0] }}{% endblock %}

{% set form_action = url('hcp-groups-edit', group.dn) %}

{% block torso %}
<!-- MEDIA include json connection container button dragdrop animation /js/delete.js -->
<button id="hcp-delete-button">Delete This Group</button>
<h1>Edit Group {{ group.cn[0] }}</h1>
{{ super() }}
{% endblock %}

{% block js %}
{{ super() }}
<script type="text/javascript">

function init() {
  delete_init("group", "{{ group.cn[0] }}",
              "{{ url('hcp-groups-delete', group.dn) }}",
              "{{ url('hcp-groups') }}");

}

YAHOO.util.Event.addListener(window, "load", init);
</script>
{% endblock %}
